using Pathfinding;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class ButterflyFairy : Enemy
{
    protected override void Start()
    {
        skillCD[0] = 2.0f;
        Skill0Radius = 15f;

        base.Start();
        stateMachine = new StateMachine<Enemy>(this);

        aiDestinationSetter.enabled = false;

        GetComponent<MoveInCircle>().target = thisTarget.transform;
    }

    void FixedUpdate()
    {
        stateMachine.FixedUpdate();
    }

    protected override void Update()
    {
        base.Update();
        stateMachine.Update();
    }
}
